package light.head.dao.site;

import java.io.Serializable;
import java.util.List;

import light.head.framework.base.BaseDAO;
import light.head.model.PolicySupportAnnex;

import org.springframework.stereotype.Service;
@Service
public class PolicySupportAnnexDAO extends BaseDAO<PolicySupportAnnex, Serializable>{
	private static final String sql_getAnnex = "FROM PolicySupportAnnex psa WHERE psa.psc = ? AND psa.deleted = 0";
	
	public List<PolicySupportAnnex> getAllList(Integer code){
		return super.find(sql_getAnnex,code);
	}
}
